#include <gmlib/number/uint256.h>

#include <stdexcept>
#include <cstring>

using namespace number;

void test_uint256_set_uint32()
{
    std::uint8_t a_data[32];
    uint256_t    a;

    std::uint32_t num0          = 0x269e0d37;
    std::uint8_t  num0_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x26,0x9e,0x0d,0x37};
    uint256_set_uint32(a, num0);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num0_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num1          = 0xa6a3a450;
    std::uint8_t  num1_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa6,0xa3,0xa4,0x50};
    uint256_set_uint32(a, num1);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num1_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num2          = 0x892f902b;
    std::uint8_t  num2_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x89,0x2f,0x90,0x2b};
    uint256_set_uint32(a, num2);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num2_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num3          = 0x81e74ef5;
    std::uint8_t  num3_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x81,0xe7,0x4e,0xf5};
    uint256_set_uint32(a, num3);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num3_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num4          = 0x99950d8;
    std::uint8_t  num4_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x09,0x99,0x50,0xd8};
    uint256_set_uint32(a, num4);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num4_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num5          = 0x6f03675a;
    std::uint8_t  num5_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6f,0x03,0x67,0x5a};
    uint256_set_uint32(a, num5);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num5_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num6          = 0x11e20b8f;
    std::uint8_t  num6_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x11,0xe2,0x0b,0x8f};
    uint256_set_uint32(a, num6);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num6_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num7          = 0x6cad4a26;
    std::uint8_t  num7_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6c,0xad,0x4a,0x26};
    uint256_set_uint32(a, num7);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num7_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num8          = 0xf29d0da9;
    std::uint8_t  num8_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf2,0x9d,0x0d,0xa9};
    uint256_set_uint32(a, num8);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num8_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num9          = 0x658cda14;
    std::uint8_t  num9_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x65,0x8c,0xda,0x14};
    uint256_set_uint32(a, num9);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num9_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num10          = 0xf9ebdacc;
    std::uint8_t  num10_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf9,0xeb,0xda,0xcc};
    uint256_set_uint32(a, num10);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num10_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num11          = 0xdbc496cb;
    std::uint8_t  num11_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xdb,0xc4,0x96,0xcb};
    uint256_set_uint32(a, num11);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num11_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num12          = 0x4a23d596;
    std::uint8_t  num12_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4a,0x23,0xd5,0x96};
    uint256_set_uint32(a, num12);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num12_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num13          = 0x2e44158b;
    std::uint8_t  num13_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2e,0x44,0x15,0x8b};
    uint256_set_uint32(a, num13);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num13_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num14          = 0xa38fd547;
    std::uint8_t  num14_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa3,0x8f,0xd5,0x47};
    uint256_set_uint32(a, num14);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num14_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num15          = 0x5f557203;
    std::uint8_t  num15_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x5f,0x55,0x72,0x03};
    uint256_set_uint32(a, num15);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num15_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num16          = 0x34b9b5df;
    std::uint8_t  num16_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x34,0xb9,0xb5,0xdf};
    uint256_set_uint32(a, num16);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num16_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num17          = 0x506bf2ef;
    std::uint8_t  num17_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x50,0x6b,0xf2,0xef};
    uint256_set_uint32(a, num17);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num17_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num18          = 0x7403e430;
    std::uint8_t  num18_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x74,0x03,0xe4,0x30};
    uint256_set_uint32(a, num18);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num18_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num19          = 0x4cbd87ad;
    std::uint8_t  num19_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4c,0xbd,0x87,0xad};
    uint256_set_uint32(a, num19);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num19_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num20          = 0xcb5c7427;
    std::uint8_t  num20_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xcb,0x5c,0x74,0x27};
    uint256_set_uint32(a, num20);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num20_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num21          = 0x3e7d1bfb;
    std::uint8_t  num21_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3e,0x7d,0x1b,0xfb};
    uint256_set_uint32(a, num21);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num21_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num22          = 0x930d6eaf;
    std::uint8_t  num22_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x93,0x0d,0x6e,0xaf};
    uint256_set_uint32(a, num22);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num22_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num23          = 0x86734721;
    std::uint8_t  num23_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x86,0x73,0x47,0x21};
    uint256_set_uint32(a, num23);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num23_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num24          = 0xe00902c7;
    std::uint8_t  num24_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x09,0x02,0xc7};
    uint256_set_uint32(a, num24);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num24_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num25          = 0xbabced20;
    std::uint8_t  num25_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xba,0xbc,0xed,0x20};
    uint256_set_uint32(a, num25);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num25_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num26          = 0xfaecbd38;
    std::uint8_t  num26_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xfa,0xec,0xbd,0x38};
    uint256_set_uint32(a, num26);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num26_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num27          = 0x6b0a18e8;
    std::uint8_t  num27_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6b,0x0a,0x18,0xe8};
    uint256_set_uint32(a, num27);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num27_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num28          = 0xc1d3fcff;
    std::uint8_t  num28_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc1,0xd3,0xfc,0xff};
    uint256_set_uint32(a, num28);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num28_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num29          = 0x7d2caf82;
    std::uint8_t  num29_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7d,0x2c,0xaf,0x82};
    uint256_set_uint32(a, num29);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num29_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num30          = 0xab1031d0;
    std::uint8_t  num30_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xab,0x10,0x31,0xd0};
    uint256_set_uint32(a, num30);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num30_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num31          = 0x5051c1cc;
    std::uint8_t  num31_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x50,0x51,0xc1,0xcc};
    uint256_set_uint32(a, num31);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num31_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num32          = 0xb1fee08f;
    std::uint8_t  num32_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xb1,0xfe,0xe0,0x8f};
    uint256_set_uint32(a, num32);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num32_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num33          = 0x98289fcd;
    std::uint8_t  num33_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x98,0x28,0x9f,0xcd};
    uint256_set_uint32(a, num33);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num33_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num34          = 0x74c9df6a;
    std::uint8_t  num34_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x74,0xc9,0xdf,0x6a};
    uint256_set_uint32(a, num34);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num34_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num35          = 0xd70820fe;
    std::uint8_t  num35_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd7,0x08,0x20,0xfe};
    uint256_set_uint32(a, num35);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num35_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num36          = 0xf1d69ed6;
    std::uint8_t  num36_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf1,0xd6,0x9e,0xd6};
    uint256_set_uint32(a, num36);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num36_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num37          = 0xaa05e11a;
    std::uint8_t  num37_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xaa,0x05,0xe1,0x1a};
    uint256_set_uint32(a, num37);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num37_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num38          = 0xb394fb36;
    std::uint8_t  num38_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xb3,0x94,0xfb,0x36};
    uint256_set_uint32(a, num38);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num38_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num39          = 0xd269a9a5;
    std::uint8_t  num39_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd2,0x69,0xa9,0xa5};
    uint256_set_uint32(a, num39);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num39_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num40          = 0xab2cd31e;
    std::uint8_t  num40_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xab,0x2c,0xd3,0x1e};
    uint256_set_uint32(a, num40);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num40_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num41          = 0x7631a992;
    std::uint8_t  num41_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x76,0x31,0xa9,0x92};
    uint256_set_uint32(a, num41);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num41_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num42          = 0x1df9fd78;
    std::uint8_t  num42_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1d,0xf9,0xfd,0x78};
    uint256_set_uint32(a, num42);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num42_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num43          = 0xf17a300;
    std::uint8_t  num43_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x17,0xa3,0x00};
    uint256_set_uint32(a, num43);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num43_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num44          = 0xc4aaeac1;
    std::uint8_t  num44_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc4,0xaa,0xea,0xc1};
    uint256_set_uint32(a, num44);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num44_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num45          = 0x3f63af83;
    std::uint8_t  num45_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3f,0x63,0xaf,0x83};
    uint256_set_uint32(a, num45);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num45_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num46          = 0xdf1582b0;
    std::uint8_t  num46_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xdf,0x15,0x82,0xb0};
    uint256_set_uint32(a, num46);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num46_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num47          = 0x14a0f9e7;
    std::uint8_t  num47_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x14,0xa0,0xf9,0xe7};
    uint256_set_uint32(a, num47);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num47_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num48          = 0x72fdf202;
    std::uint8_t  num48_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x72,0xfd,0xf2,0x02};
    uint256_set_uint32(a, num48);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num48_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num49          = 0x8ca81811;
    std::uint8_t  num49_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x8c,0xa8,0x18,0x11};
    uint256_set_uint32(a, num49);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num49_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num50          = 0xe2257159;
    std::uint8_t  num50_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe2,0x25,0x71,0x59};
    uint256_set_uint32(a, num50);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num50_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num51          = 0xd1bc52d9;
    std::uint8_t  num51_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0xbc,0x52,0xd9};
    uint256_set_uint32(a, num51);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num51_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num52          = 0xe25a7605;
    std::uint8_t  num52_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe2,0x5a,0x76,0x05};
    uint256_set_uint32(a, num52);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num52_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num53          = 0xf52ddf5d;
    std::uint8_t  num53_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf5,0x2d,0xdf,0x5d};
    uint256_set_uint32(a, num53);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num53_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num54          = 0x26a2c0bd;
    std::uint8_t  num54_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x26,0xa2,0xc0,0xbd};
    uint256_set_uint32(a, num54);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num54_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num55          = 0x2d1c9af0;
    std::uint8_t  num55_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2d,0x1c,0x9a,0xf0};
    uint256_set_uint32(a, num55);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num55_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num56          = 0x3bbbe9ea;
    std::uint8_t  num56_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3b,0xbb,0xe9,0xea};
    uint256_set_uint32(a, num56);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num56_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num57          = 0x96d0cc5f;
    std::uint8_t  num57_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x96,0xd0,0xcc,0x5f};
    uint256_set_uint32(a, num57);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num57_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num58          = 0x43435cc5;
    std::uint8_t  num58_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x43,0x43,0x5c,0xc5};
    uint256_set_uint32(a, num58);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num58_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num59          = 0x10c4759;
    std::uint8_t  num59_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x0c,0x47,0x59};
    uint256_set_uint32(a, num59);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num59_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num60          = 0x90fbbd11;
    std::uint8_t  num60_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x90,0xfb,0xbd,0x11};
    uint256_set_uint32(a, num60);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num60_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num61          = 0xf3fe39c0;
    std::uint8_t  num61_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf3,0xfe,0x39,0xc0};
    uint256_set_uint32(a, num61);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num61_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num62          = 0xdd27a65;
    std::uint8_t  num62_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0d,0xd2,0x7a,0x65};
    uint256_set_uint32(a, num62);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num62_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num63          = 0x6472f1a3;
    std::uint8_t  num63_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x72,0xf1,0xa3};
    uint256_set_uint32(a, num63);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num63_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num64          = 0x66237a04;
    std::uint8_t  num64_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x66,0x23,0x7a,0x04};
    uint256_set_uint32(a, num64);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num64_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num65          = 0x1a81682c;
    std::uint8_t  num65_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1a,0x81,0x68,0x2c};
    uint256_set_uint32(a, num65);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num65_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num66          = 0xa260cd0b;
    std::uint8_t  num66_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa2,0x60,0xcd,0x0b};
    uint256_set_uint32(a, num66);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num66_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num67          = 0xfef7928;
    std::uint8_t  num67_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0xef,0x79,0x28};
    uint256_set_uint32(a, num67);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num67_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num68          = 0x3571810a;
    std::uint8_t  num68_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x35,0x71,0x81,0x0a};
    uint256_set_uint32(a, num68);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num68_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num69          = 0x298cb3a5;
    std::uint8_t  num69_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x29,0x8c,0xb3,0xa5};
    uint256_set_uint32(a, num69);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num69_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num70          = 0xd75985d;
    std::uint8_t  num70_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0d,0x75,0x98,0x5d};
    uint256_set_uint32(a, num70);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num70_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num71          = 0x68739fa;
    std::uint8_t  num71_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x87,0x39,0xfa};
    uint256_set_uint32(a, num71);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num71_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num72          = 0xdfd43f37;
    std::uint8_t  num72_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xdf,0xd4,0x3f,0x37};
    uint256_set_uint32(a, num72);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num72_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num73          = 0x9d33a01c;
    std::uint8_t  num73_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9d,0x33,0xa0,0x1c};
    uint256_set_uint32(a, num73);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num73_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num74          = 0x5d39d0a8;
    std::uint8_t  num74_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x5d,0x39,0xd0,0xa8};
    uint256_set_uint32(a, num74);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num74_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num75          = 0x1f7296ab;
    std::uint8_t  num75_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0x72,0x96,0xab};
    uint256_set_uint32(a, num75);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num75_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num76          = 0xd953ee26;
    std::uint8_t  num76_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd9,0x53,0xee,0x26};
    uint256_set_uint32(a, num76);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num76_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num77          = 0x774b15d7;
    std::uint8_t  num77_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x77,0x4b,0x15,0xd7};
    uint256_set_uint32(a, num77);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num77_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num78          = 0x7bdc968b;
    std::uint8_t  num78_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7b,0xdc,0x96,0x8b};
    uint256_set_uint32(a, num78);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num78_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num79          = 0x15fc899e;
    std::uint8_t  num79_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x15,0xfc,0x89,0x9e};
    uint256_set_uint32(a, num79);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num79_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num80          = 0x43c71b9a;
    std::uint8_t  num80_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x43,0xc7,0x1b,0x9a};
    uint256_set_uint32(a, num80);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num80_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num81          = 0x5e999f3;
    std::uint8_t  num81_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0xe9,0x99,0xf3};
    uint256_set_uint32(a, num81);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num81_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num82          = 0x873be078;
    std::uint8_t  num82_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x87,0x3b,0xe0,0x78};
    uint256_set_uint32(a, num82);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num82_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num83          = 0x87322e25;
    std::uint8_t  num83_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x87,0x32,0x2e,0x25};
    uint256_set_uint32(a, num83);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num83_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num84          = 0xdd02de92;
    std::uint8_t  num84_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xdd,0x02,0xde,0x92};
    uint256_set_uint32(a, num84);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num84_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num85          = 0x2ac34446;
    std::uint8_t  num85_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2a,0xc3,0x44,0x46};
    uint256_set_uint32(a, num85);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num85_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num86          = 0xc59db916;
    std::uint8_t  num86_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc5,0x9d,0xb9,0x16};
    uint256_set_uint32(a, num86);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num86_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num87          = 0xda45e18a;
    std::uint8_t  num87_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xda,0x45,0xe1,0x8a};
    uint256_set_uint32(a, num87);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num87_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num88          = 0xce5b2a92;
    std::uint8_t  num88_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xce,0x5b,0x2a,0x92};
    uint256_set_uint32(a, num88);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num88_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num89          = 0xd17e4497;
    std::uint8_t  num89_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0x7e,0x44,0x97};
    uint256_set_uint32(a, num89);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num89_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num90          = 0x3a0b9965;
    std::uint8_t  num90_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3a,0x0b,0x99,0x65};
    uint256_set_uint32(a, num90);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num90_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num91          = 0x8483f8b8;
    std::uint8_t  num91_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x84,0x83,0xf8,0xb8};
    uint256_set_uint32(a, num91);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num91_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num92          = 0x4787f93b;
    std::uint8_t  num92_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x47,0x87,0xf9,0x3b};
    uint256_set_uint32(a, num92);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num92_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num93          = 0x42594052;
    std::uint8_t  num93_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x42,0x59,0x40,0x52};
    uint256_set_uint32(a, num93);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num93_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num94          = 0xf4de2c08;
    std::uint8_t  num94_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf4,0xde,0x2c,0x08};
    uint256_set_uint32(a, num94);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num94_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num95          = 0xfcf00fec;
    std::uint8_t  num95_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xfc,0xf0,0x0f,0xec};
    uint256_set_uint32(a, num95);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num95_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num96          = 0x5d58c705;
    std::uint8_t  num96_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x5d,0x58,0xc7,0x05};
    uint256_set_uint32(a, num96);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num96_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num97          = 0x38703800;
    std::uint8_t  num97_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x70,0x38,0x00};
    uint256_set_uint32(a, num97);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num97_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num98          = 0x3a12917c;
    std::uint8_t  num98_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3a,0x12,0x91,0x7c};
    uint256_set_uint32(a, num98);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num98_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
    std::uint32_t num99          = 0x325b55dd;
    std::uint8_t  num99_data[32] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x32,0x5b,0x55,0xdd};
    uint256_set_uint32(a, num99);
    uint256_to_bytes(a_data, a);
    if (std::memcmp(num99_data, a_data, 32) != 0)
    {
        throw std::runtime_error("err in common::uint256_set_uint32");
    }
}
